xl/libxl: treat vif "ip" fields as a simple string
authorIan Campbell <ian.campbell@citrix.com>
Fri, 25 Feb 2011 17:03:55 +0000 (17:03 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 25 Feb 2011 17:03:55 +0000 (17:03 +0000)
commitc544f6db0cff898a5a1a99c4d19beaffd40738c6
treec246c31af0b88ed5c6cbc29509555f452ca90315
parent69ec10d36ae688cbca3d31b9e3af146db8411879
xl/libxl: treat vif "ip" fields as a simple string

Currently we parse the string as an IPv4 address but this does not
handle IPv6. We then format the IP address as a string into xenstore.
Rather than add further parsing and formatting to support IPv6 simply
treat the field as a string, which it turns out is all xend does.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.idl
tools/libxl/libxltypes.py
tools/libxl/xl_cmdimpl.c